package gagnatech.controller;

import gagnatech.entity.Mediatheque;
import gagnatech.service.ServiceMediatheque;

public class ControlerMediatheque {

	private ServiceMediatheque serviceMediatheque;
	
	public ControlerMediatheque() {
		serviceMediatheque = new ServiceMediatheque();
	}

	public Mediatheque getMediatheque(int id) {
		return serviceMediatheque.getManagerMediatheque().getMediatheque(id);
	}

	public boolean addMediatheque(Mediatheque mediatheque) {
		return serviceMediatheque.getManagerMediatheque().addMediatheque(mediatheque);
	}
	
}
